﻿namespace Chameleon.Storage
{
	using System.Collections.Generic;

	/// <summary>
	/// Provides an entry point for access to a storage context.
	/// </summary>
	
	public interface IStorageContainer
	{
		/// <summary>
		/// Returns the collection of items within the container.
		/// </summary>
		
		IEnumerable<IStorageItem> Items();


		/// <summary>
		/// Returns the specified storage item from within the container.
		/// </summary>
		/// <param name="name">Name of the item to return.</param>

		IStorageItem Item( string name );
	}
}
